package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Sanhyuan {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("input a:");
        int a=in.nextInt();
        System.out.println("input b:");
        int b=in.nextInt();
        //求a和b的大值
        int max=a>b?a:b;
        System.out.println("a和b中较大的是"+max);
    }
}
